FROM openjdk:8
EXPOSE 8520

VOLUME /tmp
RUN mkdir -p /data/app/
COPY dist /data/app/
WORKDIR /data/app
ENTRYPOINT ["/bin/bash","/data/app/bin/dbApi.sh","start"]
